<?php
Yii::import('zii.widgets.CPortlet');

class SideBar extends CPortlet
{
    protected function renderContent(){                
        $id_user = intval($_SESSION["user_pm"]["user_id"]);
        $data = User::getRowById($id_user);                             
        $this->render("side_bar",array("data"=>$data));         
    }
}